// 商品分类接口
import http from "../common/http.js"

export default {
	//获取列表
	catList: (data,needLoading) => {
		return http.GET('/default/cat-list', data ,needLoading) 
	},
	//获取商品列表种类
	getBrandList: (data,needLoading) => {
		return http.GET('/default/get-brand-list', data,needLoading) 
	},
	//商品列表获取商品
	goodsList: (data,needLoading) => {
		return http.GET('/default/goods-list', data,needLoading) 
	},
	//根据位置解析地址
	addressSmart: (data,needLoading) => {
		return http.GET('/default/address-smart', data,needLoading) 
	}
}